package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.CstCollectionRegistration;

/**
 * 收款登记Mapper接口
 * 
 * @author zjw
 * @date 2023-01-04
 */
public interface CstCollectionRegistrationMapper 
{
    /**
     * 查询收款登记
     * 
     * @param collectionId 收款登记主键
     * @return 收款登记
     */
    public CstCollectionRegistration selectCstCollectionRegistrationByCollectionId(Long collectionId);

    /**
     * 查询收款登记列表
     * 
     * @param cstCollectionRegistration 收款登记
     * @return 收款登记集合
     */
    public List<CstCollectionRegistration> selectCstCollectionRegistrationList(CstCollectionRegistration cstCollectionRegistration);

    /**
     * 新增收款登记
     * 
     * @param cstCollectionRegistration 收款登记
     * @return 结果
     */
    public int insertCstCollectionRegistration(CstCollectionRegistration cstCollectionRegistration);

    /**
     * 修改收款登记
     * 
     * @param cstCollectionRegistration 收款登记
     * @return 结果
     */
    public int updateCstCollectionRegistration(CstCollectionRegistration cstCollectionRegistration);

    /**
     * 删除收款登记
     * 
     * @param collectionId 收款登记主键
     * @return 结果
     */
    public int deleteCstCollectionRegistrationByCollectionId(Long collectionId);

    /**
     * 批量删除收款登记
     * 
     * @param collectionIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCstCollectionRegistrationByCollectionIds(Long[] collectionIds);
}
